package com.pengshun.config;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 自定义防重复提交注解
 *
 * @author luoligang
 * @create 2021/4/10
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface NoRepeatSubmit {

    String prefix() default "prefix:";

}
